package org.eiahe.hr.performance.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.eiahe.hr.performance.domain.PerformanceLevel;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 绩效等级视图对象
 *
 * @author zhangnn
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PerformanceLevel.class)
public class PerformanceLevelVo {

    /**
     * 等级ID
     */
    private Long levelId;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 等级名称
     */
    private String levelName;

    /**
     * 最低得分
     */
    private BigDecimal minScore;

    /**
     * 最高得分
     */
    private BigDecimal maxScore;

    /**
     * 等级说明
     */
    private String levelDesc;

    /**
     * 排序
     */
    private Integer sortOrder;

    /**
     * 状态(0正常 1停用)
     */
    private String status;

    /**
     * 状态名称
     */
    private String statusName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 备注
     */
    private String remark;
}
